package cn.ava.pet.service;

import cn.ava.pet.domain.SearchMasterMsg;
import cn.ava.basic.service.IBaseService;
import cn.ava.pet.dto.AcceptOrderDto;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ava
 * @since 2022-07-19
 */
public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {
    // 寻主消息
    void publish(SearchMasterMsg searchMasterMsg);
    // 拒绝订单
    void reject(Long id, HttpServletRequest request);
    // 接收订单
    void accept(AcceptOrderDto acceptOrderDto);
}
